package com.example.mybatisdemo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.mybatisdemo.entities.IdSequence;
import org.apache.ibatis.annotations.Update;

public interface IdSequenceMapper extends BaseMapper<IdSequence> {
    @Update("truncate table id_sequence")
    void truncate();

    @Update("delete from id_sequence")
    void removeAll();
}
